<script setup lang="ts" name="Home">
import Nav from '@/components/Nav/index.vue';
</script>

<template>
  <div class="home-page">
    <el-container>
      <el-aside width="100px">
        <Nav></Nav>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<style lang="scss" scoped>
.home-page {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background-color: rgb(39, 42, 55);
  border-radius: 15px;

  .el-container {
    height: 100%;
  }
}
</style>
